import request from "../../utils/request";

export function doComment(data) {
  return request.post({
    url: '/comment',
    data: data
  });
}
export function getCommentList(id) {
  return request.get({
    url: `/comment/${id}`,
  });
}
export function getPreviewCommentList(id) {
  return request.get({
    url: `/comment/preview/${id}`,
  });
}
export function getPerformanceScore(id) {
  return request.get({
    url: `/comment/score/${id}`
  });
}